package com.zwj.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @Author: zxj
 * @Description: 批次课程
 * @DateTime: 2021/11/8 11:46
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("batch_course")
@ApiModel(value="BatchCourseEntity对象", description="")
public class BatchCourseEntity implements Serializable {
    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "批次ID")
    @TableId(value = "batchId", type = IdType.AUTO)
    private String batchId;

    @ApiModelProperty(value = "课程ID")
    @TableId(value = "courseId", type = IdType.AUTO)
    private String courseId;
}
